package com.example.service;

import java.util.Set;

public interface LikeService {
    // 点赞商品
    void likeProduct(Long userId, Long productId);
    
    // 取消点赞
    void unlikeProduct(Long userId, Long productId);
    
    // 检查是否已点赞
    boolean hasLiked(Long userId, Long productId);
    
    // 获取用户点赞的商品ID集合
    Set<Long> getUserLikedProductIds(Long userId);
} 